package com.share.finance.risk.rules.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 执行结果表
 * </p>
 *
 * @author author
 * @since 2022-10-28
 */
@Data
@Accessors(chain = true)
@TableName("rul_execute_result")
public class ExecuteResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 订单流水号
     */
    @TableField(value = "order_id")
    private String orderId;
    /**
     * 工程id
     */
    @TableField(value = "project_id")
    private Long projectId;
    /**
     * 输入参数
     */
    @TableField(value = "input_data")
    private String inputData;
    /**
     * 输出参数
     */
    @TableField(value = "output_data")
    private String outputData;

    @TableField(value = "cycle_num")
    private Integer cycleNum;
    private Integer salience;
    /**
     * 错误信息
     */
    @TableField(value = "err_msg")
    private String errMsg;

    @TableField(value = "exe_status")
    private String exeStatus;

    @TableField(value = "exe_ip")
    private String exeIp;
    @TableField(value = "req_ip")
    private String reqIp;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

}
